package com.gaoyuzhe.feign;

import org.springframework.stereotype.Component;

/**
 * @author gaoyuzhe
 */
public class PaymentHystrixFallbackImpl implements PaymentHystrixFeignService{
    @Override
    public String paymentOk(Integer id){
        return "PaymentHystrixFallback-->paymentOk 降级";
    }

    @Override
    public String paymentTimeout(Integer id){
        return "PaymentHystrixFallback-->paymentTimeout 降级";

    }
}
